package io.renren.modules.money.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.renren.modules.person.model.Person;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author A夜兔A
 * @data 2021年11月19日 10:10
 */
@Data
public class SearchRecord {

    private String  shopNum;
    private Integer customerId=0;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date beginDate;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endDate;
    private Integer pageNum;
    private Integer pageSize;

    private String remark;
    private Person person;
    private String username;
    private Integer recordId;
    private BigDecimal money;

}
